<table>
  <tr class="HeaderTr">
    <td><b>Summary</b></td>
  </tr>
  <tr>
    <td>
    	<fieldset>
		<legend>Unit Manager Details</legend>
		<table border="0" class="List">
		  <tr>
		    <td width="10%" rowspan="12" valign="top"><img src="<?php echo COMPONENT_PATH.'images/db_customers.gif'?>" alt=""></td>
		    <td width="15%">User ID</td>
		    <td><b><?php echo $manager->id;?></b></td>
		  </tr>
		  <tr>
		    <td>Name</td>
		    <td><b><?php echo $manager->title. " " .$manager->firstname. " " .$manager->surname;?></b></td>
		  </tr>
		  <tr>
		    <td>Address</td>
		    <td><b><?php echo $manager->address1;?></b></td>
		  </tr>
		  <tr>
		    <td>&nbsp;</td>
		    <td><b><?php echo $manager->address2;?></b></td>
		  </tr>
		  <tr>
		    <td>City</td>
		    <td><b><?php echo $manager->city;?></b></td>
		  </tr>
		  <tr>
		    <td>Country</td>
		    <td><b><?php echo $manager->country;?></b></td>
		  </tr>
		  <tr>
		    <td>State/County</td>
		    <td><b><?php echo $manager->state;?></b></td>
		  </tr>
		  <tr>
		    <td>Postcode</td>
		    <td><b><?php echo $manager->postcode;?></b></td>
		  </tr>
		  <tr>
		    <td>Email</td>
		    <td><b><?php echo $manager->email;?></b></td>
		  </tr>
		  <tr>
		    <td>Account Expiry Date</td>
		    <td><b><?php echo get_string_from_date($manager->expirydate);?></b></td>
		  </tr>
		  <tr>
		    <td>Active</td>
		    <td><b><?php echo $manager->active;?></b></td>
		  </tr>
		  <tr>
		    <td>Notes</td>
		    <td><b><?php echo $manager->notes;?></b></td>
		  </tr>
		</table>
		</fieldset>
    </td>
  </tr>
  <tr>
  	<td>
  		<fieldset>
		<legend>Unit Summary</legend>
		<table class="List">
			<tr>
				<td width="10%"><img src="<?php echo COMPONENT_PATH.'images/house.gif'?>" alt=""></td>
				<td valign="top">
					<table border="0">
					  <tr class="HeaderTr">
					    <td width="15%"><b>Unit ID</b></td>
					    <td class="LeftAlign"><b>Unit Name</b></td>
					    <td class="LeftAlign" width="25%"><b>Unit Type</b></td>
					  </tr>
					  <?php if(!empty($units)){?>
					  	<?php foreach($units as $unit){?>
					  <tr>
					    <td width="15%"><?php echo $unit->id;?></td>
					    <td><?php echo $unit->name;?></td>
					    <td width="25%"><?php echo $unit->type;?></td>
					  </tr>
					  	<?php }?>
					  <?php }?>
					</table>
				</td>
			</tr>
		</table>
  		</fieldset>
  	</td>
  </tr>
</table>
